home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / zip / unzip / zip.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-05-01  |  330 b   |  12 lines

  1. /* This is a dummy zip.h to allow crypt.c from Zip to compile for unzip */
  2.  
  3. #include "unzip.h"
  4. #define SKIP_TIME_H   /* don't include time.h again in crypt.c */
  5.  
  6. #define local
  7. typedef unsigned short ush;
  8. typedef unsigned long ulg;
  9.  
  10. extern ULONG crc_32_tab[];
  11. #define crc32(c, b) (crc_32_tab[((int)(c) ^ (b)) & 0xff] ^ ((c) >> 8))
  12.